module.exports = [
    {
        title: 'taro云开发手册',
        collapsable: false,
        children: prefix('getting-started', [
            '',
            'ready',
            'jiegou',
            'dev'
        ]),
    },
    {
        title: '页面说明',
        collapsable: false,
        children: prefix('pages', [
            '',
            'cloud',
            'qus',
            'other'
        ])
    }
];

function prefix(prefix, children) {
    return children.map(child => `${prefix}/${child}`)
}